sudo apt-get -y install likewise-open
sudo update-rc.d likewise-open defaults
sudo domainjoin-cli join corp.i-seven.com Administrator
sudo sh -c "echo 'winbind use default domain = yes' >> /etc/samba/lwiauthd.conf"
sudo sh -c "echo '%domain^admins ALL=(ALL) ALL' >> /etc/sudoers"
sudo /etc/init.d/likewise-open start
